<template>
  <view :style="themeStore.themeStyle" class="content">
    <view v-for="item in 10">配送订单列表item</view>
    <up-button type="primary" @click="gotoDetail()" text="详情跳转"></up-button>
  </view>
</template>

<script lang="ts" setup>
import { route } from 'uview-plus'
const gotoDetail = () => {
  route({
    url: '/pages_order_delivery/detail/detail',
    params: {
      name: '测试值'
    }
  })
}
import { useThemeStore } from '@/store/modules/theme'
const themeStore = useThemeStore()
// onShow(() => {
//   themeStore.initTheme()
// })
</script>

<style lang="scss" scoped></style>
